package com.fuqi.android.zhongcai.business.shuig.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.business.shuig.request.result.OrderDataResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  (内勤，队长，施工员)安装/改装/评分数据接口
* */


public class OrderDataApi extends AbsRequest<OrderDataApi.OrderDataParams, OrderDataResult> {

    public OrderDataApi(OrderDataParams orderParams, Listener<OrderDataResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getOrderDataUrl(), orderParams, listener, errorListener, OrderDataResult.class);
    }

    public static class OrderDataParams extends BaseParams {

        public OrderDataParams(String startDate, String endDate) {

                put("startDate", startDate);
                put("endDate", endDate);
        }
    }


}
